package cn.cew.bytespyserver;

import cn.cew.bytespyserver.controller.ClassInfo;
import cn.cew.bytespyserver.controller.MethodInfo;
import cn.cew.bytespyserver.jad.Jad;
import cn.cew.bytespyserver.socket.AgentServerSocket;
import cn.cew.bytespyserver.tool.JarUtils;
import cn.cew.bytespyserver.vm.VmAttach;
import cn.cew.bytespyserver.vm.VmDescriptor;
import cn.hutool.json.JSONUtil;
import com.thoughtworks.qdox.JavaProjectBuilder;
import com.thoughtworks.qdox.model.JavaClass;
import com.thoughtworks.qdox.model.JavaMethod;
import org.apache.tomcat.Jar;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.Resource;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;

@EnableScheduling
@SpringBootApplication
public class ByteSpyApplication {

    public static void main(String[] args) {

        SpringApplication.run(ByteSpyApplication.class, args);

    }
}
